<?php 
$count=0;
?>
<h2 class="blue">Our Other Offerings</h2>

<?php foreach($data as $item) :?>
<?php 
$class = 'home_product quarters left';
if($count != count($data)){
    $class .= ' nl';
}
?>
<article class="<?php echo $class;?>">
    <?php echo taxonomy_image_display($item['tid']); ?>
    <br />
    <a href="<?php echo url('taxonomy/term/'.$item['tid']); ?>" class="product_cat_btn"><?php echo $item['name']?></a>
    <p class="product_desc">
        <?php echo $item['description']; ?>
    </p>
</article>
<?php $count++; ?>
<?php endforeach; ?>